package com.wryyyyy.mapper;

import com.wryyyyy.entity.Label;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wryyyyy
 * @since 2023-11-12
 */
public interface LabelMapper extends BaseMapper<Label> {
    List<Label> userSelectInCondition(@Param("name") String name, @Param("userId") String userId, @Param("start") Integer start, @Param("size") Integer size);

    Integer userCountInCondition(@Param("name") String name, @Param("userId") String userId);

    List<Label> selectLabel(@Param("dish_id") String dishId, @Param("number") Integer number);
}